projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b00e58
)
Added debugging message to exception on write.
author
emellor@ewan
<emellor@ewan>
Tue, 20 Sep 2005 16:19:19 +0000
(17:19 +0100)
committer
emellor@ewan
<emellor@ewan>
Tue, 20 Sep 2005 16:19:19 +0000
(17:19 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/xenstore/xsnode.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/xenstore/xsnode.py
b/tools/python/xen/xend/xenstore/xsnode.py
index 23e39d2969fc17908f7bdba857510118c9a91278..469ef5f536c738c9ab81212b3c690855adc326ac 100644
(file)
--- a/
tools/python/xen/xend/xenstore/xsnode.py
+++ b/
tools/python/xen/xend/xenstore/xsnode.py
@@
-272,8
+272,11
@@
class XenStore:
def write(self, path, data):
try:
self.getxs().write(path, data)
- except Exception, ex:
- raise
+ except RuntimeError, ex:
+ raise RuntimeError(ex.args[0],
+ ex.args[1] +
+ (', while writing %s : %s' % (str(path),
+ str(data))))
def begin(self, path):
self.getxs().transaction_start(path)